package com.example.everying.mapper.content;/*
 * 项目名称: everything
 * 文件名: PublishTemplateMapper
 * 作者: 张泽阳
 * 日期: 2025/8/8
 * 描述:
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.everying.model.entity.content.PublishTemplate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper

public interface PublishTemplateMapper extends BaseMapper<PublishTemplate> {

    List<PublishTemplate> getPublishTemplateList(@Param("userId") String userId);
    
    List<PublishTemplate> getPublishTemplateList1(@Param("userId") String userId);

    List<PublishTemplate> getPublishTemplateListByPublishType(@Param("userId") String userId,@Param("publishType") Integer publishType);

    int getCount(@Param("userId") String userId);
}
